0.0
NA
CVE-2022-50761
x86/xen: Fix memory leak in xen_init_lock_cpu()
Description

In the Linux kernel, the following vulnerability has been resolved: x86/xen: Fix memory leak in xen_init_lock_cpu() In xen_init_lock_cpu(), the @name has allocated new string by kasprintf(), if bind_ipi_to_irqhandler() fails, it should be freed, otherwise may lead to a memory leak issue, fix it.

INFO

Published Date :

Dec. 24, 2025, 1:16 p.m.

Last Modified :

Dec. 24, 2025, 1:16 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2022-50761 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Resolve memory leak in xen_init_lock_cpu() by freeing allocated strings on error.
  • Ensure allocated strings are freed if bind_ipi_to_irqhandler fails.
  • Apply the fix to the xen_init_lock_cpu() function.
  • Update the Linux kernel to the patched version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-50761 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-50761 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-50761 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-50761 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 24, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: x86/xen: Fix memory leak in xen_init_lock_cpu() In xen_init_lock_cpu(), the @name has allocated new string by kasprintf(), if bind_ipi_to_irqhandler() fails, it should be freed, otherwise may lead to a memory leak issue, fix it.
    Added Reference https://git.kernel.org/stable/c/07764d00c869a3390bd4f80412cc8b0e669e6c58
    Added Reference https://git.kernel.org/stable/c/29198f667f4486f9e227e11faf1411fcf4c82a66
    Added Reference https://git.kernel.org/stable/c/53ff99c76be611acea37d33133c9136969914865
    Added Reference https://git.kernel.org/stable/c/70966d6b0f59f795b08a70adf5e4478348ecbfbb
    Added Reference https://git.kernel.org/stable/c/70e7f308d7a8e915c7fbc0f1d959968eab8000cd
    Added Reference https://git.kernel.org/stable/c/798fc3cf98ca07e448956f39295c5d686ab4b054
    Added Reference https://git.kernel.org/stable/c/9278bdbb566656b3704704f8dd6cbc24a6fcc569
    Added Reference https://git.kernel.org/stable/c/b44457b83a034efef58ffa5f3131d4615f1a9837
    Added Reference https://git.kernel.org/stable/c/ca84ce153d887b1dc8b118029976cc9faf2a9b40
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.